<?php
/**
 * @file
 * rounded_corners_image_effect.features.inc
 */

/**
 * Implements hook_image_default_styles().
 */
function rounded_corners_image_effect_image_default_styles() {
  $styles = array();

  // Exported image style: rounded
  $styles['rounded'] = array(
    'name' => 'rounded',
    'effects' => array(
      1 => array(
        'label' => 'Rounded Corners',
        'help' => 'This is true cropping, not overlays, so the result <em>can</em> be transparent.',
        'effect callback' => 'canvasactions_roundedcorners_image',
        'form callback' => 'canvasactions_roundedcorners_form',
        'module' => 'imagecache_canvasactions',
        'name' => 'canvasactions_roundedcorners',
        'data' => array(
          'radius' => '25',
          'independent_corners_set' => array(
            'independent_corners' => 0,
            'radii' => array(
              'tl' => '0',
              'tr' => '0',
              'bl' => '0',
              'br' => '0',
            ),
          ),
        ),
        'weight' => '1',
      ),
    ),
  );

  return $styles;
}
